[BB-1927] remove business+ dependency for getting workspace role grants#70
[BB-1927] remove business+ dependency for getting workspace role grants#70
Conversation
WalkthroughChanges to Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested reviewers
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
📜 Recent review detailsConfiguration used: Organization UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used🧠 Learnings (1)📚 Learning: 2025-10-28T17:48:53.644ZApplied to files:
🧬 Code graph analysis (1)pkg/connector/workspace.go (1)
🔇 Additional comments (2)
Comment |
| bag.PageToken(), | ||
| ) | ||
| outputAnnotations.WithRateLimiting(ratelimitData) | ||
| users, err := o.client.GetUsers() |
There was a problem hiding this comment.
I think we could emit the grants from the users Grants method to avoid listing users here. We should have the workspace id since it is the parent resource
currently not possible to get system roles because the
admin.roles.readpermission is required to access the listAssignments endpoint, since business+ only has access toadminpermission, notadmin.roles.read, then is not possible to list those.Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.